package api

import (
	"github.com/gin-gonic/gin"
	"video/api/handler"
)

func Route(r *gin.Engine) {
	r.GET("video", handler.VideoList)
	r.POST("videoAdd", handler.VideoAdd)
	r.POST("upload", handler.Upload)
	r.GET("show", handler.Show)
	r.GET("look", handler.VideoLook)
}
